package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 站点管理对象 t_station
 * 
 * @author 小卤
 * @date 2025-04-04
 */
public class TStation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 站点id */
    private Long stationId;

    /** 站点名称 */
    @Excel(name = "站点名称")
    private String stationName;

    /** 经度 */
    @Excel(name = "经度")
    private Double lon;

    /** 纬度 */
    @Excel(name = "纬度")
    private Double lat;

    /** 海拔高度 */
    @Excel(name = "海拔高度")
    private Double altitude;

    /** 具体地址 */
    @Excel(name = "具体地址")
    private String address;

    /** 缓冲区范围 */
    @Excel(name = "缓冲区范围")
    private Integer bufferRange;

    /** 最新监测时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "最新监测时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date monitorTime;

    public void setStationId(Long stationId) 
    {
        this.stationId = stationId;
    }

    public Long getStationId() 
    {
        return stationId;
    }

    public void setStationName(String stationName) 
    {
        this.stationName = stationName;
    }

    public String getStationName() 
    {
        return stationName;
    }

    public void setLon(Double lon) 
    {
        this.lon = lon;
    }

    public Double getLon() 
    {
        return lon;
    }

    public void setLat(Double lat) 
    {
        this.lat = lat;
    }

    public Double getLat() 
    {
        return lat;
    }

    public void setAltitude(Double altitude) 
    {
        this.altitude = altitude;
    }

    public Double getAltitude() 
    {
        return altitude;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setBufferRange(Integer bufferRange) 
    {
        this.bufferRange = bufferRange;
    }

    public Integer getBufferRange() 
    {
        return bufferRange;
    }

    public void setMonitorTime(Date monitorTime) 
    {
        this.monitorTime = monitorTime;
    }

    public Date getMonitorTime() 
    {
        return monitorTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stationId", getStationId())
            .append("stationName", getStationName())
            .append("lon", getLon())
            .append("lat", getLat())
            .append("altitude", getAltitude())
            .append("address", getAddress())
            .append("bufferRange", getBufferRange())
            .append("monitorTime", getMonitorTime())
            .toString();
    }
}
